//
//  ViewController.h
//  ALittleReminder
//
//  Created by George on 11-11-01.
//
//


@interface SetAlertViewController : UIViewController

// init with an existing alert, or nil for new alert
- (id)initWithAlert:(AlertManagedObject *)alertOrNil;

@property (unsafe_unretained, nonatomic) IBOutlet UITextField *nameTextField;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *timeButton;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *finishButton;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *takePictureButton;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *albumPictureButton;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *addTextButton;


- (IBAction)doSetAlert:(id)sender;
- (IBAction)onOpenTime:(id)sender;
- (IBAction)onTakeAPicture:(id)sender;
- (IBAction)onPictureFromAlbum:(id)sender;
- (IBAction)onAddText:(id)sender;
- (IBAction)onAddVoice:(id)sender;
- (IBAction)onDelete:(id)sender;

//UITextField delegate for nameTextField
- (BOOL) textFieldShouldReturn:(UITextField*) textField;
@end
